package com.general.common.security.entity;

import java.io.Serializable;
import java.util.Collection;

public class Role implements Serializable {

	private static final long serialVersionUID = 5284068006800987377L;
	
	private String roleid;//角色ID
	private String name;//角色名称
	private String description;//角色描述
	private Collection<User> users;//下属用户
	private Collection<Permission> pmss;//角色权限
	
	/**
	 * @return the roleid
	 */
	public String getRoleid() {
		return roleid;
	}
	/**
	 * @param roleid the roleid to set
	 */
	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the users
	 */
	public Collection<User> getUsers() {
		return users;
	}
	/**
	 * @param users the users to set
	 */
	public void setUsers(Collection<User> users) {
		this.users = users;
	}
	/**
	 * @return the pmss
	 */
	public Collection<Permission> getPmss() {
		return pmss;
	}
	/**
	 * @param pmss the pmss to set
	 */
	public void setPmss(Collection<Permission> pmss) {
		this.pmss = pmss;
	}
	
	
}
